]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
windowMenu: Pass missing argument when starting grab op
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 28 Feb 2024 15:00:43 +0000 (16:00 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 28 Feb 2024 16:00:11 +0000 (16:00 +0000)
The function now requires an additional position-hint argument.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3214>

js/ui/windowMenu.js

index 655572e29ff52c738d611904fb702c2ac6fc8952..571a193580ede29c28b473a47f9f4b1555d40c19 100644 (file)
@@ -71,7 +71,8 @@ export class WindowMenu extends PopupMenu.PopupMenu {
             window.begin_grab_op(
                 Meta.GrabOp.KEYBOARD_MOVING,
                 pointer, null,
-                event.get_time());
+                event.get_time(),
+                null);
         });
         if (!window.allows_move())
             item.setSensitive(false);
@@ -90,7 +91,8 @@ export class WindowMenu extends PopupMenu.PopupMenu {
             window.begin_grab_op(
                 Meta.GrabOp.KEYBOARD_RESIZING_UNKNOWN,
                 pointer, null,
-                event.get_time());
+                event.get_time(),
+                null);
         });
         if (!window.allows_resize())
             item.setSensitive(false);